import {
  get,
  put,
  _delete,
  post
} from '@/lin/plugin/axios'
class Logo {
  static async getAll(page, count) {
    const res = await get('cloudSystem/recruit/logo/page', {
      page: page,
      count: count
    })
    return res
  }

  static async getById(id) {
    const res = await get(`cloudSystem/recruit/logo/${id}`)
    return res
  }

  static async update(id, data) {
    const res = await put(`cloudSystem/recruit/logo/${id}`, data)
    return res
  }

  static async delete(id) {
    const res = await _delete(`cloudSystem/recruit/logo/${id}`)
    return res
  }

  static async createLogo(data) {
    const res = await post('cloudSystem/recruit/logo', data)
    return res
  }

  static async getList() {
    const res = await get('cloudSystem/recruit/logo')
    return res
  }

  static async show() {
    const res = await get('cloudSystem/recruit/logo/show')
    return res
  }
  
  static async upload(data) {
	
	const res = await post('cloudFile/recruit/file', data)
    return res
  }
  
}

export {
  Logo
}
